//package com.jiezhuo.controller;
//
//import com.jiezhuo.entity.GatewayInfo;
//import com.jiezhuo.entity.vo.DictionInfoTypeVo;
//import com.jiezhuo.entity.vo.DictionInfoVo;
//import com.jiezhuo.service.DictionaryInfoService;
//import com.jiezhuo.service.GatewayInfoService;
//import com.jiezhuo.utils.R;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//@RestController
//@RequestMapping("/pro_dictionary_info")
//@Api(tags = "字典信息")
//public class DictionaryInfoController {
//
//    @Autowired
//    DictionaryInfoService dictionaryInfoService;
//
//    @ApiOperation("获取字典信息")
//    @GetMapping("getDictionInfo")
//    public R getDictionInfo(DictionInfoVo dictionInfoVo) {
//        Map<String,Object> resMap = new HashMap();
//        List<DictionInfoVo> dicList = dictionaryInfoService.getDictionInfo(dictionInfoVo);
//        Integer total = dictionaryInfoService.getDictInfoTotal(dictionInfoVo);
//        resMap.put("dicList",dicList);
//        resMap.put("total",total);
//        return R.ok().code(2000).data("dicListInfo", resMap);
//    }
//
//    @ApiOperation("获取字典类型")
//    @GetMapping("getDictType")
//    public R getDictType() {
//        List<DictionInfoTypeVo> dicList = dictionaryInfoService.getDiictINfoType();
//        return R.ok().code(2000).data("dicData", dicList);
//    }
//}
